package com.hjb.service.utils;

import java.util.HashMap;
import java.util.Map;

public class Location {
	public static final String SYS_TYPE = "sysType";//系统类型
	public static final String SYS_VERSION = "sysVersion";//系统版本
	public static final String IMEI = "imei";//系统版本
	public static Map<String,String> getLocation(String location){
		//location格式为:系统类型|系统版本|硬件标识
		String[] array = location.split("|");
		Map<String,String> map = new HashMap<String,String>();
		map.put(SYS_TYPE, array[0]);
		map.put(SYS_VERSION, array[1]);
		map.put(IMEI, array[2]);
		return map;
	}
}
